package cn.sunxyz.struct.composite;

/**
 * Created by yangrd on 2017/5/12.
 */
public class ImageFile extends AbstractFile {

    public ImageFile(String name) {
        super(name);
    }

    @Override
    public void killVirus() {
        //模拟杀毒
        System.out.println("----对图像文件'" + name + "'进行杀毒");
    }
}
